package cn.lxg.dao;

import cn.lxg.pojo.TComment;
import cn.lxg.vo.CommentVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ICommentDao {
    public List<CommentVO> select(@Param(value = "limitStart") Integer limitStart, @Param(value = "limitEnd") Integer limitEnd, @Param(value = "comment") CommentVO comment);

    CommentVO get(Integer id);

    int edit(TComment comment);

    int delete(Integer id);

    int add(CommentVO comment);

    int add1(TComment comment);
}
